package com.hopes.bizz.close.statistic.vo;

import com.hopes.bizz.close.common.constant.enums.ParkCloseModDictEnum;
import com.hopes.boss.admin.api.resolver.DictResolver;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 库存进出VO
 * @time 2024/2/16 20:06
 */
@Data
public class StockEnterOuterVO implements Serializable {

    private static final long serialVersionUID = -8848849269611795590L;

    /**
     * 下标
     */
    private String index;


    private List<GoodsNumVO> goodsNumVOList;

    public StockEnterOuterVO() {
    }

    public StockEnterOuterVO(String index) {
        this.index = index;
    }


    public StockEnterOuterVO(String index, List<GoodsNumVO> goodsNumVOList) {
        this.goodsNumVOList = goodsNumVOList;
        this.index = index.length() == 13 ? index + ":00" : index;
    }
}
